﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Oliving.Edge.Model.School
{

    /// <summary>
    /// 考试成绩
    /// </summary>
    [SugarTable("School_Achievement")]
    [Serializable]
    public class School_Achievement
    {
        public School_Achievement() { }

        /// <summary> 
        /// Desc: 
        /// Default: 
        /// Nullable:False 
        /// </summary>  
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "Examination_ID")]
        public int Achievement_ID { get; set; }


        /// <summary>
        /// 学号
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_StuCode",
            ColumnDescription = "学号",
            IsNullable = false, Length = 100,
            ColumnDataType = "nvarchar")]
        public string Achievement_StuCode { get; set; }

        /// <summary>
        /// 学号
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_StuName",
            ColumnDescription = "学员姓名",
            IsNullable = false, Length = 100,
            ColumnDataType = "nvarchar")]
        public string Achievement_StuName { get; set; }


        /// <summary>
        /// 学号
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_ClassName",
            ColumnDescription = "班级",
            IsNullable = false, Length = 100,
            ColumnDataType = "nvarchar")]
        public string Achievement_ClassName { get; set; }



        /// <summary>
        /// 性别
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_Sex",
            ColumnDescription = "性别",
            IsNullable = false, Length = 10,
            ColumnDataType = "nvarchar")]
        public string Achievement_Sex { get; set; }



        /// <summary>
        /// 语文
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_YuWen",
            ColumnDescription = "语文",
            IsNullable = false)]
        public decimal Achievement_YuWen { get; set; }


        /// <summary>
        /// 数学
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_ShuXue",
            ColumnDescription = "数学",
            IsNullable = false)]
        public decimal Achievement_ShuXue { get; set; }



        /// <summary>
        /// 英语
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_YingYu",
            ColumnDescription = "英语",
            IsNullable = false)]
        public decimal Achievement_YingYu { get; set; }


        /// <summary>
        /// 生物
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_ShengWu",
            ColumnDescription = "生物",
            IsNullable = false)]
        public decimal Achievement_ShengWu { get; set; }




        /// <summary>
        /// 历史
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_LiShi",
            ColumnDescription = "历史",
            IsNullable = false)]
        public decimal Achievement_LiShi { get; set; }


        /// <summary>
        /// 地理
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_DiLi",
            ColumnDescription = "地理",
            IsNullable = false)]
        public decimal Achievement_DiLi { get; set; }


        /// <summary>
        /// 德法
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_DeFa",
            ColumnDescription = "德法",
            IsNullable = false)]
        public decimal Achievement_DeFa { get; set; }



        /// <summary>
        /// 总分
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_Sum",
            ColumnDescription = "总分",
            IsNullable = false)]
        public decimal Achievement_Sum { get; set; }


        /// <summary>
        /// 记录时间
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_CreateTime",
            ColumnDescription = "记录时间",
            IsNullable = false)]
        public DateTime Achievement_CreateTime { get; set; }


        /// <summary>
        /// 考试编号
        /// </summary>
        [SugarColumn(
            ColumnName = "Achievement_ExaminationID",
            ColumnDescription = "考试编号",
            IsNullable = false)]
        public DateTime Achievement_ExaminationID { get; set; }

    }
}
